package avicit.bdp.dgs.metadata.dto;

import avicit.bdp.common.base.BaseDTO;
import avicit.platform6.core.annotation.log.FieldRemark;
import avicit.platform6.core.annotation.log.LogField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.Column;
import javax.persistence.Table;

/**
 * 元数据采集结果
 *
 * @author mayi
 */
@ApiModel(value = "MetadataCollectTaskResult", description = "元数据采集结果")
@Table(name = "bdp_dgs_metadata_collect_task_result")
public class MetadataCollectTaskResult extends BaseDTO {

  private static final long serialVersionUID = 1L;

  /** 主键ID */
  @LogField
  @ApiModelProperty(value = "主键")
  @FieldRemark(column = "id", field = "id", name = "主键")
  @Column(name = "id")
  @avicit.platform6.core.annotation.log.Id
  @javax.persistence.Id
  private String id;

  @ApiModelProperty(value = "元数据采集任务ID", name = "metadataCollectTaskId")
  @Column(name = "metadata_collect_task_id")
  private String metadataCollectTaskId;

  @ApiModelProperty(value = "任务实例ID", name = "taskInstanceId")
  @Column(name = "task_instance_id")
  private String taskInstanceId;

  @ApiModelProperty(value = "采集总数", name = "totalCount")
  @Column(name = "total_count")
  private int totalCount;

  @ApiModelProperty(value = "新增总数", name = "addCount")
  @Column(name = "add_count")
  private int addCount;

  @ApiModelProperty(value = "删除总数", name = "dropCount")
  @Column(name = "drop_count")
  private int dropCount;

  @ApiModelProperty(value = "变更总数", name = "alterCount")
  @Column(name = "alter_count")
  private int alterCount;

  @ApiModelProperty(value = "新增明细", name = "addDetail")
  @Column(name = "add_detail")
  private String addDetail;

  @ApiModelProperty(value = "删除明细", name = "dropDetail")
  @Column(name = "drop_detail")
  private String dropDetail;

  @ApiModelProperty(value = "变更明细", name = "alterDetail")
  @Column(name = "alter_detail")
  private String alterDetail;

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getMetadataCollectTaskId() {
    return metadataCollectTaskId;
  }

  public void setMetadataCollectTaskId(String metadataCollectTaskId) {
    this.metadataCollectTaskId = metadataCollectTaskId;
  }

  public int getTotalCount() {
    return totalCount;
  }

  public void setTotalCount(int totalCount) {
    this.totalCount = totalCount;
  }

  public int getAddCount() {
    return addCount;
  }

  public void setAddCount(int addCount) {
    this.addCount = addCount;
  }

  public int getDropCount() {
    return dropCount;
  }

  public void setDropCount(int dropCount) {
    this.dropCount = dropCount;
  }

  public int getAlterCount() {
    return alterCount;
  }

  public void setAlterCount(int alterCount) {
    this.alterCount = alterCount;
  }

  public String getAddDetail() {
    return addDetail;
  }

  public void setAddDetail(String addDetail) {
    this.addDetail = addDetail;
  }

  public String getDropDetail() {
    return dropDetail;
  }

  public void setDropDetail(String dropDetail) {
    this.dropDetail = dropDetail;
  }

  public String getAlterDetail() {
    return alterDetail;
  }

  public void setAlterDetail(String alterDetail) {
    this.alterDetail = alterDetail;
  }

  public String getTaskInstanceId() {
    return taskInstanceId;
  }

  public void setTaskInstanceId(String taskInstanceId) {
    this.taskInstanceId = taskInstanceId;
  }
}
